package com.wantup.miaosha.pojo;

import com.wantup.miaosha.entity.TblGoods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author Zhaoluowei
 * @version 1.0
 * @date 2019/6/6 13:28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class GoodsPojo extends TblGoods {

    public Integer id;
    /**
     * 商品名称
     */
    public String goodsName;
    /**
     * 商品标题
     */
    public String goodsTitle;
    /**
     * 商品图片
     */
    public String goodsImg;
    /**
     * 商品详情
     */
    public String goodsDetail;
    /**
     * 商品价格
     */
    public BigDecimal goodsPrice;
    /**
     * 商品库存，-1表示没有限制
     */
    public Integer goodsStock;

    public String miaoShaPrice;
    public Integer stockCount;//秒杀商品数量
    public String startDate;
    public String endDate;


}
